<?php
declare(strict_types=1);
namespace App\Service\Topic\Reply;
use Auth;
use App\Models\Topic\Topic;
class RepliesSave implements RepliesSaveInterface {

    public function store($request,$reply):bool{
        $reply->content = $request->input('content');
        $reply->user_id = Auth::id();
        $reply->topic_id = $request->topic_id;
        $reply->save();
        return  true;
    }

}
